package com.qf.service;

import com.qf.mapper.UserMapper;
import com.qf.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("service2")
public class UserServiceImpl2 implements UserService {

    @Autowired
    private UserMapper userMapper;

    public List<User> findAll() {
        List<User> list = userMapper.findUserAll();
        System.out.println("====UserServiceImpl2是UserService第二个实现类======");
        return list;
    }

    public void updateUser(User user) {

    }


}
